#include <Windows.h>
#include <iostream>
#include "format_shim.h"
#include "Log.h"

namespace LOG
{
    CLog::CLog() : m_EOT(E_OT_DEFAULT)
        , m_pOutputTarget(NULL)
    {}

    CLog::~CLog()
    {
        if (m_pOutputTarget)
        {
            delete m_pOutputTarget;
            m_pOutputTarget = NULL;
        }
    }

    void CLog::log(const TCHAR * fmt, ...)
    {
    }
}

void main()
{
    std::wcout<<&FMT(L"Yes,sir! %d %d", 111, 222);
    ::OutputDebugString(&FMT(L"Yes,sir! %d %d", 111, 222));
    std::cin.get();
}